class Store {
  put(key,value) {
    wx.setStorageSync(key, value)
  }
  get(key) {
    return wx.getStorageSync(key)
  }
  del(key) {
    wx.removeStorageSync(key)
  }
  clear() {
    wx.clearStorageSync()
  }
}

export const store = new Store()